#pragma once

#include <QColor>

// 常量
class Const {
    // 关卡
    public: static const char* LEVEL_FILE_PATH;                                         // 文件路径
    public: static const int LEVEL_COUNT = 15;                                          // 总数

    // 图片
    public: static const char* IMAGE_FILE_PATH;                                         // 文件路径

    // 定时器
    public: static const int TIMER_INIT = 500;                                          // 间隔

    // 格
    public: static const int GRID_SIZE = 30;                                            // 尺寸

    // 游戏区域
    public: static const int GAME_BOARD_GRID_COUNT_H = 12;                              // 横向格数
    public: static const int GAME_BOARD_GRID_COUNT_V = 12;                              // 纵向格数
    public: static const int GAME_BOARD_WIDTH = GRID_SIZE * GAME_BOARD_GRID_COUNT_H;    // 宽度
    public: static const int GAME_BOARD_HEIGHT = GRID_SIZE * GAME_BOARD_GRID_COUNT_V;   // 高度
    public: static QColor GAME_BOARD_COLOR;                                             // 背景色

    // 状态栏
    public: static const int STATUS_BAR_PART_COUNT = 2;                                 // 格数
};
